package com.hongdee.insurance.company.entity;

import com.hongdee.annotation.ExcelData;
import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 王帅
 * @className TInsuranceCompanyBillBalanceDetail
 * @type
 * @description 保险公司对账 结平明细 用于保险公司针对某对账单差额结平账单信息
 * @path com.hongdee.insurance.company.entity
 * @create 2017/6/14 8:49
 **/
@Entity
@Table(name = "T_INSURANCE_COMPANY_BILL_BALANCE_DETAIL")
public class TInsuranceCompanyBillBalanceDetail extends BaseEntity {


    @Column(name = "bill_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '对账单ID' ")
    private String billId;

    @Column(name = "insurance_company_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '保险公司ID' ")
    private String insuranceCompanyId;

    @Column(name = "blance_type", length = 1, columnDefinition = " INT(1) COMMENT '结算状态 0未结算  1 已结算' ")
    private String blanceType;

    @Column(name = "blance_date", length = 32, columnDefinition = " VARCHAR(32) COMMENT '结算时间' ")
    private String blanceDate;

    @Column(name = "company_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '所属公司' ")
    private String companyId;
    /**
     * 出单日期
     */
    @ExcelData("出单日期")
    @Column(name = "out_order_date", length = 22, columnDefinition = " BIGINT(32) COMMENT '出单日期' ")
    private Long outOrderDate;

    @ExcelData("保险类别")
    @Column(name = "contract_type", length = 32, columnDefinition = " VARCHAR(32) COMMENT '保险类别 sy商业  or jq交强' ")
    private String contractType;

    @Column(name = "insurance_type", length = 32, columnDefinition = " VARCHAR(32) COMMENT '保单类别' ")
    private String insuranceType;
    /**
     * 保单起始日期
     */
    @ExcelData("起保时间")
    @Column(name = "start_date", length = 22, columnDefinition = " BIGINT COMMENT '保险起始日期' ")
    private Long startDate;
    /**
     * 保单终止日期
     */
    @ExcelData("终保时间")
    @Column(name = "stop_date", length = 22, columnDefinition = " BIGINT COMMENT '保险终止日期' ")
    private Long stopDate;

    //商业险保单号
    @ExcelData("保单号")
    @Column(name = "contract_no", length = 32, columnDefinition = " VARCHAR(32) COMMENT '商业险保单号' ")
    private String contractNo;
    //被保险人
    @ExcelData("被保险人")
    @Column(name = "insurance", length = 100, columnDefinition = " VARCHAR(100) COMMENT '被保险人' ")
    private String insurance;
    //交强险保费
    @ExcelData("保费")
    @Column(name = "price", length = 100, columnDefinition = " VARCHAR(100) COMMENT '保费' ")
    private String price;
    //交强险手续费率
    @ExcelData("佣金费率")
    @Column(name = "poundage", length = 32, columnDefinition = " VARCHAR(32) COMMENT '佣金率' ")
    private String poundage;

    @ExcelData("佣金费")
    @Column(name = "poundage_price", length = 32, columnDefinition = " VARCHAR(32) COMMENT '佣金费' ")
    private String poundagePrice;

    @ExcelData("车牌号")
    @Column(name = "plate_num", length = 32, columnDefinition = " VARCHAR(32) COMMENT '车牌号' ")
    private String plateNum;

    @ExcelData("车驾号")
    @Column(name = "vin", length = 32, columnDefinition = " VARCHAR(32) COMMENT '车驾号' ")
    private String vin;

    @Column(name = "adjust_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '调整日志ID' ")
    private String adjustId;

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getInsuranceCompanyId() {
        return insuranceCompanyId;
    }

    public void setInsuranceCompanyId(String insuranceCompanyId) {
        this.insuranceCompanyId = insuranceCompanyId;
    }

    public String getBlanceType() {
        return blanceType;
    }

    public void setBlanceType(String blanceType) {
        this.blanceType = blanceType;
    }

    public String getBlanceDate() {
        return blanceDate;
    }

    public void setBlanceDate(String blanceDate) {
        this.blanceDate = blanceDate;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Long getOutOrderDate() {
        return outOrderDate;
    }

    public void setOutOrderDate(Long outOrderDate) {
        this.outOrderDate = outOrderDate;
    }

    public String getContractType() {
        return contractType;
    }

    public void setContractType(String contractType) {
        this.contractType = contractType;
    }

    public String getInsuranceType() {
        return insuranceType;
    }

    public void setInsuranceType(String insuranceType) {
        this.insuranceType = insuranceType;
    }

    public Long getStartDate() {
        return startDate;
    }

    public void setStartDate(Long startDate) {
        this.startDate = startDate;
    }

    public Long getStopDate() {
        return stopDate;
    }

    public void setStopDate(Long stopDate) {
        this.stopDate = stopDate;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getInsurance() {
        return insurance;
    }

    public void setInsurance(String insurance) {
        this.insurance = insurance;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPoundage() {
        return poundage;
    }

    public void setPoundage(String poundage) {
        this.poundage = poundage;
    }

    public String getPoundagePrice() {
        return poundagePrice;
    }

    public void setPoundagePrice(String poundagePrice) {
        this.poundagePrice = poundagePrice;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getAdjustId() {
        return adjustId;
    }

    public void setAdjustId(String adjustId) {
        this.adjustId = adjustId;
    }
}
